package com.aoip.telemetry.telemetry.configureui.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author chenbai
 * @version 1.0
 * @date 2021/12/23 9:50
 */
@SpringBootApplication(scanBasePackages = {
        "com.aoip.telemetry.telemetry.configureui.admin",
        "com.aoip.telemetry.telemetry.configureui.common",
        "com.aoip.telemetry.telemetry.configureui.framework",
        "com.aoip.telemetry.telemetry.configureui.system",
        "com.aoip.telemetry.telemetry.configureui.business",
        "com.aoip.telemetry.telemetry.core",
        "com.aoip.telemetry.telemetry.quartz",
        "com.datar.compute.model",
}, exclude = {DataSourceAutoConfiguration.class}
)
@MapperScan("com.aoip.telemetry.telemetry.quartz.**.mapper")
@MapperScan("com.aoip.telemetry.telemetry.configureui.**.mapper")
@MapperScan("com.datar.compute.model.**.mapper")
public class TelemetryConfigureUiApplication {

    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(TelemetryConfigureUiApplication.class, args);
        System.out.println("遥测平台界面配置系统启动成功 ");
    }
}
